<?php
/**
 * Created by PhpStorm.
 * UserModel: hlg
 * Date: 2019/5/16
 * Time: 17:28
 */
namespace app\api\controller;
use think\Controller;
define('ACCOUNT_ID','123456');
define('ACCESS_KEY','vqgdf4gsga-6cf5ddef-fbc5c382-2aadd');
define('SECRET_KEY','518c11fb-82723631-0e7101f9-f73d8');
/**
 * Class Login
 * 火币接口
 * @package app\api\controller
 */
class Api extends Controller
{
    public function huo()
    {
        include 'lib.php';
        //实例化类库
        $req = new \req();
        // 获取account-id, 用来替换ACCOUNT_ID
        $user = $req->get_account_accounts();
        AjaxReturn(1,'ok',$user);
    }
}

